body,ul,ol,li,input,img,p{
  margin: 0;
  padding: 0;
}
body{
  background-color: #f0f0f0;
}
ul,ol,li{
  list-style: none;
}
a{
  text-decoration: none;
}
body>.top{
  font-size: 12px;
  width: 100%;
  height: 40px;
  background-color: #333333;
}
.top>div{
  width: 1180px;
  margin: 0 auto;
}
.top-l,.top-r,.top>div{
  display: flex;
  justify-content: space-between;
  line-height: 40px;
}
.top-l{
  width: 296.913px;
}
.top a{
  color: white;
}
.top-r{
  width: 165.562px;
}
.s-a-r{
  width: 101.56px;
}
.s-a-r a{
  display: inline-block;
  margin-left: 25px;
}

.on{
  display: none;
  color: #ccc;
  width: 200px
}
.on button{
  width: 40px;
  height: 20px;
  font-size: 12px;
}
.off{
  display: none;
}
.active{
  display: inline-block;
}
.car-box{
  width: 64px;
  position: relative;
}
.car-box>a{
  height: 40px;
  width: 44px;
  margin-left: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.car-box>a>div{
  background-image: url(https://p1.qhimg.com/t019bd9e375d813e9d1.png);
  background-repeat: no-repeat; 
 background-position:-111px -48px;
 width: 22px;
 height: 24px;
 /* margin: auto auto; */
}
.car-list{
  display: none;
  position: absolute;
  top: 44px;
  right: 0;
  width: 295px;
  min-height: 76px;
}
.car-box:hover>a{
  background-color: white;
  border-radius: 5px 5px 0 0/5px 5px 0 0;
  margin-top: 4px;
}
.car-box:hover>a>div{
  background-position:-141px -48px;
}
.car-box:hover>.car-list{
  display: flex;
  color: #666;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px -4px rgb(0 0 0 / 50%);
}
.header{
  width: 1180px;
  height: 102px;
  margin: 0 auto;
  padding-top: 30px;
  box-sizing: border-box;
  position: relative;
}
.header>.logo-and-search{
  height: 36px;
  font-size: 18px;
  position: relative;
  display: flex;
  align-items: center;
}
.logo-and-search>a{
  color: #333;
  float: left;
  margin-right: 50px;
}
.logo-and-search>a>img{
  height:36px;
  width: 180px;
}
.search{
  width: 420px;
  height: 36px;
  border: 1px solid #ccc;
  border-radius: 18px;
  box-sizing: border-box;
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
}
.search>input{
  width: 340px;
  height: 24px;
  font-size: 14px;
  border: 0;
  outline: 0;
}
.search>i{
  width: 24px;
  height: 24px;
  position: absolute;
  /* background-color: red; */
  top: 5px;
  right: 20px;
  background-image: url(https://p1.qhimg.com/t019bd9e375d813e9d1.png);
  background-position: -170px -48px;
}
.suggest{
  font-size: 12px;
  width:420px;
  height: 21px;
  position: absolute;
  right: 0;
  box-sizing: border-box;
  padding: 6px 30px 0 30px;
}
.suggest>a{
  color: #666;
  margin-right: 10px;
}
.suggest:nth-child(5){
  margin-right: 0;
}
.banner{
  width: 100%;
  height:530px ;
}
.banner>.swiper{
  height: 100%;
}
.swiper-wrapper a{
  height: 100%;
  width: 100%;
  display: block;
  background-position: center top;
  background-size: auto 100%;
}

.swiper{
  --swiper-pagination-color: rgba(255,255,255,0.5);
  --swiper-pagination-bullet-size: 10px;
  --swiper-pagination-bullet-horizontal-gap:7.5px;
  --swiper-pagination-bullet-inactive-color: transparent;
  --swiper-pagination-bullet-inactive-opacity: 0.5;

}
.swiper-pagination-bullet{
  border: 2px solid rgba(0,0,0,0.6);
}
.swiper-button-next:after, .swiper-button-prev:after{
  position: absolute;
  top: 301px;
  background-color: rgba(0,0,0,0.2);
  width: 42px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.swiper-button-prev:after{
  left: 220px;
}
:root {
    --swiper-navigation-color:rgba(255,255,255,0.5);
}
.first-nav{
  width: 230px;
  height: 530px;
  background-color: rgba(51,51,51,0.7);
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 100;
}
.first-nav>div>a,.first-nav>li>a{
  color: white;
  text-align: center;
  display: block;
}
.first-nav>div>a{
  line-height: 50px;
  font-size: 16px;
  background-color: #33333399;
}
.first-nav>li>a{
  line-height: 48px;
  font-size: 14px;
}
.first-nav>li:hover{
  background-color: #33333399;
}
.second-nav{
  background-color: rgba(255,255,255,0.98);
  box-shadow: 0 0 3px rgb(0 0 0 / 20%);
  position: absolute;
  left: 230px;
  top: 0;
  width: 950px;
  height:530px ;
  z-index: 100;
  display: none;
}
.first-nav>li:hover>.second-nav{
  display: flex;
}
.second-nav>div{
  width: 165px;
  height: 65px;
}
.second-nav>div>img{
  width: 65px;
  height: 65px;
  vertical-align:middle
}
.second-nav>div>a{
  display: inline-block;
  height: 65px;
  line-height: 65px;
  vertical-align:middle
}

.content{
  width: 1180px;
  margin: 0 auto;
}
.content>p{
  font-size: 20px;
  height: 26.4px;
  line-height: 26.4px;
  padding-top: 10px;
  
}
.popular{
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}
.popular>img{
  width:280px ;
  height: 242px;
  border-radius: 5px;
}
.popular>img:hover{
  margin-top: -5px;
}
.content-floor{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.content-floor>a>img{
  pointer-events: none;
}
.content-floor>a>div{
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 30px 20px;
  width: 240px;
  height:400px ;
}
.content-floor>a>div>span{
  display: block;
  width: 80px;
  height: 20px;
  background-color: orange;
  color: white;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}
.content-floor>a>div>img{
  width:240px ;
  height: 240px;
}
.content-name{
  font-size: 18px;
  color: black;
  text-align: center;
}
.content-name>span{
  display: block;
  font-size: 14px;
  color: #666;
  text-align: center;
}
.content-pice{
  font-size: 20px;
  color: red;

}
.content-detail>div{
  background-color: white;
}
.content-bottom>a>div{
  pointer-events: none;
  width: 180px;
  height: 305px;
  background-color: white;
  padding: 20px 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
}
.content-bottom>a>div>img{
  width: 180px;
  height:180px ;
}
.bottom-name{
  height: 40px;
  font-size: 14px;
  text-align: center;
}
.bottom-pice{
  font-size: 20px;
  color: red;
}
.content-bottom>a>div>p>span{
  display: inline-block;
  width: 52px;
  height: 17px;
  text-align: center;
  border: 1px solid orange;
  border-radius: 2px;
  font-size: 12px;
  color: orange;
}
  .content-bottom{
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.content-bottom>a{
  margin-bottom: 20px;
}
.content-floor>a{
  margin-bottom: 20px;
}
.content-bottom>a:hover,.content-floor>.content-detail:hover{
  margin-top: -4px;
}
.content-floor>.content-list:hover{
  position: relative;
  top: -4px;
}
.foot>div,.bottom>div{
  width: 1180px;
  margin: 0 auto;
}
.foot>div>img,.bottom>div>img{
  width: 100%;
}
.bottom{
  width: 100%;
  background-color: #333;
}
.foot{
  width: 100%;
  background-color: white;
}
